package com.woniuxy.purchasemanager.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.commons.entity.purchaseManager.NeedAllocationEntity;
import com.woniuxy.commons.entity.purchaseManager.NeedAndGoodsEntity;
import com.woniuxy.commons.entity.purchaseManager.base.VoEntity;

import java.util.List;
import java.util.Map;

/**
 * 需求分配
 *
 * @author huangzhichao
 * @email 1205560871@gmail.com
 * @date 2022-04-19 13:00:28
 */
public interface NeedAllocationService extends IService<NeedAllocationEntity> {

//    PageUtils queryPage(Map<String, Object> params);

    VoEntity<NeedAllocationEntity> pageListAll(Integer currentPage, Integer pageSize);

    /**
     * 获取对应需求分配单商品详情列表
     * @Author: xianhao
     * @Date: 2022/5/5 10:19
     * @param needOrderId:
     * @return: java.util.List<com.woniuxy.commons.entity.purchaseManager.NeedAndGoodsEntity>
     **/
    Map<String, Object> getOrderGoodsList(String needOrderId);

    boolean addList(Map<String, Object> map);
}

